#include "results.h"

void results::setCoordinates(std::vector<coord>* c)
{
	coordinates = c;
}

void results::setAlgorithm(std::string a)
{
	algorithm = a;
}

void results::setDataStructure(std::string d)
{
	dataStructure = d;
}

void results::setCost(float c)
{
	cost = c;
}

void results::setExecutionTime(double e)
{
	executionTime = e;
}

void results::setVisitedNodes(int v)
{
	visitedNodes = v;
}

void results::setAdd(std::pair<int, double> a)
{
	add = a;
}

void results::setModify(std::pair<int, double> r)
{
	modify = r;
}

void results::setSelectLowest(std::pair<int, double> s)
{
	selectLowest = s;
}

void results::setFind(std::pair<int, double> f)
{
	find = f;
}

std::vector<coord>* results::getCoordinates()
{
	return coordinates;
}

std::string results::getAlgorithm()
{
	return algorithm;
}

std::string results::getDataStructure()
{
	return dataStructure;
}

float results::getCost()
{
	return cost;
}

double results::getExecutionTime()
{
	return executionTime;
}

int results::getVisitedNodes()
{
	return visitedNodes;
}

std::pair<int, double> results::getAdd()
{
	return add;
}

std::pair<int, double> results::getModify()
{
	return modify;
}

std::pair<int, double> results::getSelectLowest()
{
	return selectLowest;
}

std::pair<int, double> results::getFind()
{
	return find;
}